-
Notifications
You must be signed in to change notification settings - Fork 6
Fix vale lint command to exclude node_modules directory #457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Deploying infrahub-sdk-python with
|
Latest commit: |
265c9f0
|
Status: | ✅ Deploy successful! |
Preview URL: | https://6d1243be.infrahub-sdk-python.pages.dev |
Branch Preview URL: | https://copilot-fix-372.infrahub-sdk-python.pages.dev |
Co-authored-by: dgarros <[email protected]>
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## stable #457 +/- ##
=======================================
Coverage 75.58% 75.58%
=======================================
Files 100 100
Lines 8769 8769
Branches 1712 1712
=======================================
Hits 6628 6628
Misses 1663 1663
Partials 478 478
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
The
invoke lint
command was including files from thenode_modules
directory when the docusaurus package is installed, causing performance issues and thousands of irrelevant linting errors.Problem
When running
invoke lint
locally with docusaurus packages installed, the vale linter would process all markdown files indocs/node_modules/
, resulting in:Solution
Modified the find command in the
lint_vale
function to exclude thenode_modules
directory:Impact
node_modules
doesn't existFixes #372.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.